package com.example.base.net

import com.example.base.entity.Res
import com.example.base.entity.VisitEntity
import com.example.base.entity.VisitEntityItem
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

interface ApiService {

    @GET("/api/visit-appointments")
    suspend fun getVisit(): Res<VisitEntity>

    @POST("/api/visit-appointments")
    suspend fun getAddVis(@Body body: RequestBody):Res<VisitEntityItem>

}